<%@page import="com.tarena.entity.User"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会议室预订管理系统</title>
<base href="<%=basePath%>">
<link rel="stylesheet" type="text/css" href="<%=basePath%>/pages/css/default.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>/pages/js/jquery-easyui-1.3.5/themes/gray/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>/pages/js/jquery-easyui-1.3.5/themes/icon.css" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>/pages/js/JQuery-zTree-v3.5.15/css/zTreeStyle/zTreeStyle.css">
<script type="text/javascript" src="<%=basePath%>/pages/js/jquery-easyui-1.3.5/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/pages/js/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/pages/js/JQuery-zTree-v3.5.15/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="<%=basePath%>/pages/user/index.js"></script>
<script type="text/javascript" src="<%=basePath%>/pages/js/extends.js"></script>
<script type="text/javascript" src="<%=basePath%>/pages/js/common.js"></script>

</head>

<body class="easyui-layout">
<%
User user = (User)session.getAttribute("user_online");
if(null == user){
	response.sendRedirect("../../pages/manage/login.jsp");
}
 %>
<!-- 头部标题 -->
<div data-options="region:'north',border:false" style="height:60px; padding:5px; background:#F3F3F3"> 
	<a href="index.jsp"><span class="northTitle">万达信息会议室预订系统</span></a>
    <span class="loginInfo">
    <p align="right"><a href="user/logout.do">退出</a></p>
    登录账号：${ user_online.account }&nbsp;&nbsp;角色：<% 
    if(null != session.getAttribute("user_online")){
    if("0".equals(((User)session.getAttribute("user_online")).getLevel())){%> 
    	<span>普通用户</span>
    	<%
    }} %></span>
</div>

<!-- 左侧导航 -->
<div data-options="region:'west',split:true,title:'导航菜单', fit:false" style="width:200px;"> 
  <ul id="menuTree" class="ztree">
  </ul>
</div>

<!-- 页脚信息 -->
<div data-options="region:'south',border:false" style="height:20px; background:#F3F3F3; padding:2px; vertical-align:middle;">
	<span id="sysVersion">系统版本：V1.0</span>
    <span id="nowTime"></span>
</div>

<!-- 内容tabs -->
<div id="center" data-options="region:'center'">
  <div id="tabs" class="easyui-tabs">
    <div title="首页" style="padding:5px;display:block;" >
      <h1 style="font-size: 30px">欢迎回来：</h1>
        <p style="margin-left: 90px; font-size: 20px;"><font style="color: red; font-size: 20px;">您预订的会议室已经审核通过</font></p>
    </div>
  </div>
</div>

<!-- 用于弹出框 -->
<div id="parent_win"></div>

</body>
</html>
